package com.dzh.pojo;

import java.util.Date;

public class Comment {
    private String username;
    private Integer gid;
    private String address;
    private String email;
    private String say;
    private String star;
    private String date;

    public Comment(String username, Integer gid, String address, String email, String say, String star, String date) {
        this.username = username;
        this.gid = gid;
        this.address = address;
        this.email = email;
        this.say = say;
        this.star = star;
        this.date = date;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "username='" + username + '\'' +
                ", gid='" + gid + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                ", say='" + say + '\'' +
                ", star='" + star + '\'' +
                ", date=" + date +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSay() {
        return say;
    }

    public void setSay(String say) {
        this.say = say;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Comment() {
    }
}
